#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdlib.h>
using namespace std;
int myCompare(const void *elem1, const void *elem2)
{
	return *(int*)elem1 - *(int*)elem2;
}
int main()
{
	int a[3];
	for (int i = 0; i < 3; i++)
	{
		scanf("%d", &a[i]);
	}
	qsort(a, 3, sizeof(a[0]), myCompare);
	cout << a[0] << "->" << a[1] << "->" << a[2];
	system("PAUSE");
	return 0;
}



